public class InClass_Task01 {
public static void main(String[] args) {
int i = Integer.parseInt(args[0]), j = Integer.parseInt(args[1]);
int p = 2*i+2*j;
int a = i*j;
System.out.println("Area = "+a+" and Perimeter = "+p);
}
}